<template>
  <el-row>
    <el-col :span="12"><div class="c1"></div></el-col>
    <el-col :span="12"><div class="c1"></div></el-col>
  </el-row>
  <el-row :gutter="20">
    <el-col v-for="item in 4" :span="6"><div class="c1"></div></el-col>
  </el-row>
  <div style="width: 1200px;margin: 0 auto">
    <el-row>
      <el-col :span="12"><div class="c1"></div></el-col>
      <el-col :span="12"><div class="c1"></div></el-col>
    </el-row>
  </div>
<!-- 24/6=4   4 8 12 -->
  <h3>1:2:3</h3>
  <el-row :gutter="20">
    <el-col :span="4"><div class="c1"></div></el-col>
    <el-col :span="8"><div class="c1"></div></el-col>
    <el-col :span="12"><div class="c1"></div></el-col>
  </el-row>
  <h3>列偏移</h3>
  <el-row>
    <el-col :span="20" :offset="4"><div class="c1"></div></el-col>
  </el-row>
  <h3>嵌套</h3>
  <el-row>
    <el-col :span="12">
      <el-row>
        <el-col :span="6" v-for="item in 4"><div class="c1"></div></el-col>
      </el-row>
    </el-col>
    <el-col :span="12"><div class="c1"></div></el-col>
  </el-row>

  <h3>一行三张图片</h3>
  <el-row :gutter="20">
    <el-col :span="4" v-for="item in 6">
      <img src="a.png" style="width: 100%">
    </el-col>
  </el-row>


</template>


<style scoped>
  .c1{height: 30px;border: 1px solid red;border-radius: 5px}
</style>